<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>





    <c:choose>
      <c:when test="${ empty sessionScope.account}">
 <div style="float:right;">
				<form action="/VancouverTongue/login" method="post">
				User name: <input type="text" maxlength="15" name="userId"/><br />
				Password: <input type="password" maxlength="20" name="password" /><br />
				<img src="/VancouverTongue/static/image.jpg" alt="gallery" /><br />
				<input type="submit" value="Login" /> <a href="/VancouverTongue/register"><input type="button" value="Register" /></a>
				</form> </div>
      </c:when>

      <c:otherwise>
<div style="float:right;">
			<form action="/VancouverTongue/logout" method="post">
				<a href="/VancouverTongue/profile?userId=${sessionScope.account.userId}">My Profile</a>
				<input type="submit" value="Logout" /></form>
				</div>
      </c:otherwise>
    </c:choose>



				
				

				
